//
//  LZCurrentUserInfo.h
//  laziz_Consumer
//
//  Created by ZhaoDongBo on 2016/11/17.
//  Copyright © 2016年 XBN. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface LZCurrentUserInfo : NSObject<NSCoding>

// 用户信息
@property (nonatomic, strong) NSString *userId;         //用户ID
@property (nonatomic, strong) NSString *userName;       //用户名
@property (nonatomic, strong) NSString *nickName;       //昵称

// 绑定信息
@property (nonatomic, strong) NSString *cellphone;      //手机
@property (nonatomic, strong) NSString *email;          // 邮箱
@property (nonatomic, assign) BOOL password;            // 是否设置了密码
@property (nonatomic ,strong) NSMutableArray *thirdParty;      // 第三方登录

// 用户信息的数
@property (nonatomic, strong) NSString *userPhoto;      //用户头像url
@property (nonatomic, assign) NSInteger couponsNum;     //我的优惠券数量
@property (nonatomic, assign) NSInteger noReviewedNum;  //我的未评论数量
@property (nonatomic, assign) BOOL messageUnRead;   //是否有未读消息

+(void)setUserInfoWithModel:(LZCurrentUserInfo*)model;
+(LZCurrentUserInfo*)getUserInfoModel;

@end
